<!DOCTYPE html>
<html lang="en">
    <img id="pic" src="xyj/13.jpg" alt="">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>

<script>
    var i=13;
    function f(){
        pic.src="xyj/"+i+".jpg"
        i++;
    }
    setInterval(f,100);
</script>
</html>